gtksearchengine: Add "got_results" argument to ::finished
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 16 May 2020 22:00:22 +0000 (00:00 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 19 May 2020 20:04:25 +0000 (22:04 +0200)
commitb890e878185a0bffe2669a210e1eddbfc9485dec
tree3b0a8d3cfc19dc6ad21049dda1308afacc2b06bd
parente0f4e44044ec044cb09f571fc7943f296da789d0
gtksearchengine: Add "got_results" argument to ::finished

The filechooser tries to figure out whether it got results by poking
the model, but all files might go through the async GFileInfo querying
state.

Make all search engines (and the composite one) just notify about this
fact, so the file chooser can behave appropriately without waiting for
the async operations to finish.
gtk/gtkfilechooserwidget.c
gtk/gtksearchengine.c
gtk/gtksearchengine.h
gtk/gtksearchenginequartz.c
gtk/gtksearchenginetracker.c